<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Amaze UI Admin table Examples</title>
    <meta name="description" content="这是一个 table 页面">
    <meta name="keywords" content="table">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="/amazeui/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/amazeui/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link rel="stylesheet" href="/amazeui/assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="/amazeui/assets/css/admin.css">
    <link rel="stylesheet" href="/css/admin.css">

</head>
<body>

<div id="applyFor" style="text-align: center; width: 500px; margin: 100px auto;">{{$message}}
    ,将在<span class="loginTime" style="color: red">{{$jumpTime}}</span>秒后跳转至<a href="{{$url}}" style="color: red">登录</a>页面
</div>


<script src="/js/jquery.js"></script>

<script type="text/javascript">
    $(function () {
        var url = "{{$url}}"

        var loginTime = parseInt($('.loginTime').text());
        var time = setInterval(function () {
            loginTime = loginTime - 1;
            $('.loginTime').text(loginTime);
            if (loginTime == 0) {
                clearInterval(time);
                window.location.href = url;
            }
        }, 1000);
    })
</script>


</body>
</html>

